package com.dawn.module.hospital.controller.admin.invoice.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 发票 Response VO")
@Data
@ExcelIgnoreUnannotated
public class InvoiceRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "15679")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "15640")
    @ExcelProperty("用户id")
    private Long userId;

    @Schema(description = "openid", requiredMode = Schema.RequiredMode.REQUIRED, example = "27885")
    @ExcelProperty("openid")
    private String openid;

    @Schema(description = "机构名称", example = "王五")
    @ExcelProperty("机构名称")
    private String orgName;

    @Schema(description = "机构编码")
    @ExcelProperty("机构编码")
    private String orgCode;

    @Schema(description = "姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @ExcelProperty("姓名")
    private String patientName;

    @Schema(description = "身份证号")
    @ExcelProperty("身份证号")
    private String idCardNo;

    @Schema(description = "病人ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "28367")
    @ExcelProperty("病人ID")
    private String patientId;

    @Schema(description = "门诊号")
    @ExcelProperty("门诊号")
    private String clinicNo;

    @Schema(description = "订单号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("订单号")
    private String orderNumber;

    @Schema(description = "订单类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("订单类型")
    private String orderType;

    @Schema(description = "订单名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @ExcelProperty("订单名称")
    private String orderName;

    @Schema(description = "金额", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("金额")
    private String amout;

    @Schema(description = "操作人员", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("操作人员")
    private String operator;

    @Schema(description = "操作类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("操作类型")
    private String operateType;

    @Schema(description = "结账id", requiredMode = Schema.RequiredMode.REQUIRED, example = "31124")
    @ExcelProperty("结账id")
    private String settleId;

    @Schema(description = "发票类型", example = "2")
    @ExcelProperty("发票类型")
    private String invoiceType;

    @Schema(description = "发票号")
    @ExcelProperty("发票号")
    private String invoiceNo;

    @Schema(description = "发票编码")
    @ExcelProperty("发票编码")
    private String invoiceCode;

    @Schema(description = "发票地址", example = "https://www.ynzykj.net")
    @ExcelProperty("发票地址")
    private String invoiceUrl;

    @Schema(description = "校验码")
    @ExcelProperty("校验码")
    private String checkCode;

    @Schema(description = "备注", example = "你猜")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("状态")
    private Integer status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}